<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{$title}</title>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/admin/invalid.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/admin/reset.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/admin/style.css">

    <style type="text/css">
        #siderbar-wrapper h1 {
            position: static ;
            font-size: 2.2em;
            text-align: center;
        }
        .pages span {
            background: #8FC41F;
            color: #fff;
            border: 1px solid #8FC41F;
            padding: 3px 10px;
            margin-left: 8px;
        }
        .pages a {
            border: 1px solid #666666;
            padding: 3px 10px;
            margin-left: 8px;
            text-decoration: none;
            color: #333;
            outline: none;
        }
        .pages li {
            display: inline-block;
            list-style: none;
            text-decoration: none;
            color: #58A0D3;
            margin-left: 20px;
        }
    </style>
</head>
<body>
<div id="body-wrapper">
    <div id="sidebar">
        <div id="siderbar-wrapper">
            <h1 id="sidebar-title">
                <a href="#">考试系统后台管理</a>
            </h1>
            <div id="profile-links">
                您好,<a href="#" title="当前用户">{$username}</a> | <a
                    href="__URL__/quit" title="退出">退出</a>
            </div>
            <ul id="main-nav">
                <li><a href="#" class="nav-top-item">试题</a>
            </ul>
        </div>
    </div>
</div>
<div id="main-content">
    <h2>试题管理系统</h2>
    <ul class="shortcut-buttons-set">
        <li><a class="shortcut-button" href="__URL__/add"> <span>
						<img
                                src="__PUBLIC__/images/admin/icons/111.png"
                                width="48" height="48">添加
				</span>
        </a>
        </li>
    </ul>
    <div class="clear"></div>
    <div class="content-box">
        <div class="content-box-header">
            <ul class="content-box-tabs">
                <li><a href="#" class="default-tab">考试题（共{$news_count}篇）</a>
                </li>
            </ul>
            <div class="clear"></div>
        </div>
        <div class="content-box-content">
            <div class="tab-content default-tab" id="tab1">
                <div class="notification attention png_bg">
                    <div>您好，{$username}，下面是试题存入数据库中的信息！</div>
                </div>
                <table>
                    <thead>
                    <tr>
                        <th></th>
                        <th>信息修改</th>
                        <th>试题名称</th>
                        <th>出题人</th>
                        <th>选择题分数</th>
                        <th>填空题分数</th>
                        <th>判断题分数</th>
                        <th>总分</th>
                        <th>添加时间</th>
                        <th>最后修改时间</th>
                        <th>选项</th>
                    </tr>
                    </thead>
                    <tbody>
                    <volist name="data" id="vo" >
                        <tr>
                            <td></td>
                            <td><a href="__URL__/up/id/{$vo.id}/"> <img
                                    src="__PUBLIC__/images/admin/icons/xg.png" width="16"
                                    height="16" title="编辑">
                            <td>{$vo.title}</td>
                            <td>{$vo.name}</td>
                            <td>{$vo.select_point}</td>
                            <td>{$vo.blank_point}</td>
                            <td>{$vo.judge_point}</td>
                            <td>{$vo.total_point}</td>
                            <td>{$vo.time}</td>
                            <td>{$vo.uptime}</td>
                            <td><a href="__URL__/edit/id/{$vo.id}/"> <img
                                    src="__PUBLIC__/images/admin/icons/pencil.png" width="16"
                                    height="16" title="编辑">
                            </a> <a href="__URL__/delete/id/{$vo.id}/"> <img
                                    src="__PUBLIC__/images/admin/icons/sc.png" width="16"
                                    height="16" title="删除"></a></td>
                        </tr>
                    </volist>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
    <div class="pages">{$page}</div>
</div>
</body>
</html>